Skip to content

feat(ui): add offline UI#528

Merged
pwltr merged 1 commit into
masterfrom
feat/offline-ui
May 14, 2026
Merged

feat(ui): add offline UI#528
pwltr merged 1 commit into
masterfrom
feat/offline-ui

Conversation

@pwltr
Copy link
Copy Markdown
Contributor

@pwltr pwltr commented Apr 22, 2026

Description

  • add UI for offline state in various flows
  • add connection lost/restored toast
  • improve app status logic for offline state
  • polish and refactor animated loading UI

Screenshot / Video

iPhone 17:

Simulator.Screen.Recording.-.iPhone.17.-.2026-04-22.at.18.23.36.mov

iPhone SE:

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2026-04-22.at.18.25.27.mov

QA Notes

To test use the app while offline / in airplane mode

Comment thread Bitkit/Components/ProgressSteps.swift
Comment thread CHANGELOG.md Outdated
@pwltr pwltr self-assigned this May 1, 2026
@pwltr pwltr force-pushed the feat/offline-ui branch from 45a706b to f673aac Compare May 1, 2026 10:00
Comment thread Bitkit/Components/ProgressSteps.swift Outdated
Comment thread Bitkit/Components/ProgressSteps.swift
@pwltr pwltr force-pushed the feat/offline-ui branch from f673aac to 319700d Compare May 1, 2026 10:29
Comment thread Bitkit/Components/ProgressSteps.swift
@pwltr pwltr added this to the 2.3.0 milestone May 1, 2026
@pwltr pwltr requested a review from jvsena42 May 7, 2026 10:44
@piotr-iohk
Copy link
Copy Markdown
Collaborator

I tested this branch offline and found two things:

  1. Question about expected scope: should the connection issue UI handle only OS-level offline state, or also request-level connectivity failures? With Network Link Conditioner set to 100% loss, NWPathMonitor still seems to report the path as connected, so I get raw backend error toasts instead of the connection issue screen.
Screen.Recording.2026-05-12.at.09.05.16.mov
  1. When I fully disconnect Wi-Fi, the connection issue screen appears as expected. But after reconnecting Wi-Fi, the app does not recover until I restart it. The offline UI stays stuck even though connectivity is back.
Screen.Recording.2026-05-12.at.09.02.30.mov

Full log from testing:
bitkit_logs_2026-05-12_07-08-14.zip

@pwltr
Copy link
Copy Markdown
Contributor Author

pwltr commented May 14, 2026

  1. When I fully disconnect Wi-Fi, the connection issue screen appears as expected. But after reconnecting Wi-Fi, the app does not recover until I restart it. The offline UI stays stuck even though connectivity is back.

Fairly sure this is simulator only, better to test on a real device for this.

  1. Question about expected scope: should the connection issue UI handle only OS-level offline state, or also request-level connectivity failures? With Network Link Conditioner set to 100% loss, NWPathMonitor still seems to report the path as connected, so I get raw backend error toasts instead of the connection issue screen.

Added follow up here: #551

@pwltr pwltr requested a review from piotr-iohk May 14, 2026 10:08
Copy link
Copy Markdown
Collaborator

@piotr-iohk piotr-iohk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on device. LGTM.

@pwltr pwltr merged commit cb5019c into master May 14, 2026
13 checks passed
@pwltr pwltr deleted the feat/offline-ui branch May 14, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants